package com.ug_project.spring_dict.DataAccess.Migrations

import org.jetbrains.exposed.sql.Table

object Users : BaseIdTable("Users"){
    val name = varchar("UserName", 24)
    val signInName = varchar("SignInName", 32)
    val signInPassword = varchar("SignInPassword", 16)
    val integral = integer("Integral")
    val permission = integer("Permission").default(0)


    init {
        uniqueIndex(signInName, signInPassword)
    }
}